import Vue from 'vue'
import {
  Container,
  Header,
  Main,
  Footer,
  Card,
  Timeline,
  TimelineItem,
  Calendar,
  Button,
  Message,
  Backtop,
  Icon,
  Form,
  FormItem,
  Input,
  Dialog,
  Aside,
  Col,
  Menu,
  Submenu,
  MenuItem,
  MenuItemGroup,
  Upload,
  Table,
  TableColumn,
  MessageBox,
  Select
} from 'element-ui'

Vue.use(Container)
Vue.use(Header)
Vue.use(Main)
Vue.use(Footer)
Vue.use(Card)
Vue.use(Timeline)
Vue.use(TimelineItem)
Vue.use(Calendar)
Vue.use(Button)
Vue.use(Backtop)
Vue.use(Icon)
Vue.use(FormItem)
Vue.use(Input)
Vue.use(Form)
Vue.use(Dialog)
Vue.use(Aside)
Vue.use(Col)
Vue.use(Menu)
Vue.use(Submenu)
Vue.use(MenuItem)
Vue.use(MenuItemGroup)
Vue.use(Upload)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Select)

Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm
